<template>
	<view class="container">
		<CitySelect ref="CS" :cityList="c_list" @back_city="back_city"></CitySelect>
	</view>
</template>

<script>
	import {
		cities
	} from '@/utils/api/public.js'
	import CitySelect from '@/components/citySelect/citySelect.vue';
	export default {
		components: {
			CitySelect
		},
		data() {
			return {
				c_list: []
			};
		},
		onLoad() {
			// this.getCities()
		},
		methods: {
			back_city(val) {
				// console.log(val,'-')
				uni.setStorageSync('select_city', JSON.stringify(val))
				uni.navigateBack()
			}
		}
	}
</script>

<style lang="scss">

</style>